export default {
    namespaced: true,
    state: {
        // 下拉菜单的数据
        selectInfoObj: []
    },
    getters: {
        /**
         * @description 获取下拉菜单
         * */
        selectInfoObj (state) {
            return state.selectInfoObj;
        }
    },
    mutations: {
        /**
         * @description 设置下拉菜单数据
         * @param {Object} state vuex state
         * @param {Array} menu menu
         */
        setSelectInfo (state, selectInfoObj) {
            state.selectInfoObj = selectInfoObj
        }
    }
}
